package com.xiaoge.service;

import org.springframework.stereotype.Component;

/**
 *
 *     @Bean
 *     @ConditionalOnBean(value = MemberService.class)
 *     public OrderService orderService() {
 *         return new OrderService();
 *     }
 *
 *     TODO @ConditionalOnBean(value = MemberService.class)  ioc容器中有MemberService单例对象, orderService才会被注入到ioc容器中
 *
 * @author <a href="mailto:zhangxiao@dist.com.cn">Zhang Xiao</a>
 * @since
 */
@Component
public class UserService {
}
